import ReactDOM from 'react-dom/client'
import App from '@/App'
import {BrowserRouter} from 'react-router-dom'
import 'normalize.css'
import {Provider} from 'react-redux'
import store from './store'
/**
 * !的含义是让它之前的值不为null或者undefined
 */
const root=ReactDOM.createRoot(document.querySelector("#root")!)
root.render(
    <BrowserRouter>
        <Provider store={store}>
            <App/>
        </Provider>
    </BrowserRouter>
)